


//
//  LikeView.m
//  KCFurProject
//
//  Created by ios程序员 on 15/11/4.
//  Copyright (c) 2015年 ios程序员. All rights reserved.
//

#import "LikeView.h"

@implementation LikeView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.biaoYuImage = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.frame.size.width , self.frame.size.height - 50)];
        [self addSubview:self.biaoYuImage];
        [self.biaoYuImage setImage:[UIImage imageNamed:@"guanggao"]];
        self.biaoYuImage.backgroundColor = [UIColor blueColor];
        
        self.likeLabel = [[UILabel alloc] initWithFrame:CGRectMake(self.frame.size.width*7/15-20, self.frame.size.height-40, 100, 40)];
        self.likeLabel.text = @"猜你喜欢";
//        self.likeLabel.center = self.center;
        [self addSubview:self.likeLabel];
    }
    return self;
}


@end
